package main

import (
	"mall/conf"
	"mall/routes"
)

func main() {
	//加载配置
	conf.Init()
	//建立路由
	r := routes.NewRouter()
	//开启监听
	_ = r.Run(conf.HttpPort)
}
